package com.sdsy.domain;

import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.FieldFill;
import org.bouncycastle.asn1.cms.PasswordRecipientInfo;

import java.io.Serializable;
import java.util.Date;

/**
 * (TransferAccountsRecord)表实体类
 *
 * @author yxc
 * @since 2018-09-03 11:52:02
 */

@TableName("FO_TRANSFER_ACCOUNTS_RECORD")
@KeySequence(value = "SEQ_TRANSFER_ACCOUNTS_RECORD", clazz = Long.class)
public class TransferAccountsRecordDO implements Serializable {


    @TableId("id")
    private Long id;


    private Date createData;


    private String hash;


    private Long blockNumber;


    private String input;


    private Long txreceiptStatus;


    private String fromAddress;


    private String toAddress;


    private Long nonce;


    private String value;


    private String num;


    private String blockHash;

    // 0-未处理的数据，1-已处理的数据
    private Integer status;

    @Version
    @TableField(fill = FieldFill.INSERT)
    private Long version;

    //订单号
    private String tradeNo;

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateData() {
        return createData;
    }

    public void setCreateData(Date createData) {
        this.createData = createData;
    }

    public String getHash() {
        return hash;
    }

    public void setHash(String hash) {
        this.hash = hash;
    }

    public Long getBlockNumber() {
        return blockNumber;
    }

    public void setBlockNumber(Long blockNumber) {
        this.blockNumber = blockNumber;
    }

    public String getInput() {
        return input;
    }

    public void setInput(String input) {
        this.input = input;
    }

    public Long getTxreceiptStatus() {
        return txreceiptStatus;
    }

    public void setTxreceiptStatus(Long txreceiptStatus) {
        this.txreceiptStatus = txreceiptStatus;
    }

    public String getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(String fromAddress) {
        this.fromAddress = fromAddress;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }

    public Long getNonce() {
        return nonce;
    }

    public void setNonce(Long nonce) {
        this.nonce = nonce;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getBlockHash() {
        return blockHash;
    }

    public void setBlockHash(String blockHash) {
        this.blockHash = blockHash;
    }

}